Update gpsusbstub.cc (#610)
authorVlad Wing <vladwing@users.noreply.github.com>
Sat, 25 Jul 2020 12:20:36 +0000 (13:20 +0100)
committerGitHub <noreply@github.com>
Sat, 25 Jul 2020 12:20:36 +0000 (06:20 -0600)
Build fails when configured `--without-libusb`:
```
jeeps/gpsusbstub.cc:39:3: error: ‘Fatal’ was not declared in this scope
   Fatal() << no_usb;
   ^~~~~
jeeps/gpsusbstub.cc:39:3: note: suggested alternative: ‘fatal’
   Fatal() << no_usb;
   ^~~~~
   fatal
```

jeeps/gpsusbstub.cc

index 086ae7a9becc125cc5b8fabbe0e48e9d13d9f445..9be709380c138c70bd4fa4b606b56c2055ad1677 100644 (file)
@@ -34,7 +34,7 @@ typedef struct gpsdevh gpsdevh;
 int
 gusb_init(const char* portname, gpsdevh** dh)
 {
-  Fatal() << no_usb;
+  fatal(no_usb);
   return 0;
 }